<?php include 'template/topo.php';?>

        <div id="includes">
            <?php
                if (isset($_GET['tipo'])){
                    include "AlunoDAO.php";
                    include "Aluno.php";
                    $metodo = $_GET['tipo'];
                    switch ($metodo){
                        case 'inserir': 
                            include 'inserir.php';
                            break;
                        
                        case 'listartodos': 
                            include 'listar.php';
                            break;
                        
                        case 'buscar': 
                            include 'buscar.php';
                            break;
        
                        default: 
                            echo "opção Inválida";
                            break;
                    }
                }
            ?>
        </div>
    </body>
</html>
<?php
    
?>